home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 January: Mac OS SDK / Dev.CD Jan 99 SDK1.toast / Development Kits / Interfaces&Libraries / OpenTransport / Open Tpt Module Developer / Read Me < prev   
Encoding:
Text File  |  1997-11-24  |  2.0 KB  |  45 lines  |  [ttro/ttxt]

  1. Open Transport 1.3 Module Developer ReadMe
  2. 9/19/97
  3.  
  4.  
  5. WARNINGS
  6.  
  7. See also the ReadMe file that accompanies Open Transport
  8.  
  9. About the Developer Kit
  10.  
  11. This developer kit was created using the PreRelease MPW environment from E.T.O. #20.
  12.  
  13. The file Devices.h is required for PCI driver development.  This file
  14. supersedes the file Devices.h from the E.T.O. #20 release.  It is modified from
  15. the original Devices.h in order to work with E.T.O. #20 header files.
  16.  
  17. This folder also contains the file NameRegistry.h which was used to build 
  18. Open Transport. 
  19.  
  20. Compiling STREAMS modules:
  21. ==========================
  22.  
  23. STREAMS modules should be compiled by #include <OpenTptModule.h>.  A STREAMS module or driver should never #include <OpenTransport.h> directly.  In addition, a STREAMS modules or driver should not #include any of the client header files.  There are incompatibilities between kernel and client header files in an attempt to keep this from inadvertently happening.
  24.  
  25. Linking with Open Transport Libraries:
  26. ===============================
  27.  
  28. WARNING:
  29. NEVER, NEVER link a STREAMS module or driver against an Open Transport client library.
  30.  
  31. For 68K:
  32. If you are writing a STREAMS module or driver, link with OpenTptModule.o.
  33.  
  34. If you are writing a port scanning library, link with OpenTptKernelUtils.o.  Never link a port scanning library with OpenTptModule.o - this will cause the whole STREAM environment to load, which is undesireable for a port scanner.
  35.  
  36. For 68K modules or drivers, you must also link with LibraryManager.o from the ASLM SDK, since your module or driver must be an ASLM-loadable module.
  37.  
  38. For PPC:
  39. If you are writing a STREAMS module or driver, link with OpenTptModuleLib.
  40.  
  41. If you are writing a port scanning library, link with OpenTptKernelUtilLib.  Never link a port scanning library with OpenTptModuleLib - this will cause the whole STREAM environment to load, which is undesireable for a port scanner.
  42.  
  43. If you are using ASLM for your STREAMS module, you must also link with LibraryManagerPPC.o.
  44.  
  45.